/*
 * Copyright (c) 2018. czmc All Rights Reserved.
 * Author: czmc
 * Email: zxc6355533@163.com
 * Encoding: UTF-8
 */

package top.stime21.myneighbours.data.dto;

import java.io.Serializable

open class BaseResult : Serializable {
    var code: Int = 0
    var  message: String? = null
    val isSuccess: Boolean
        get() = if (this.code == 200) {
            true
        } else false
}